/*
* @Author: wanghongfucoder
* @Date:   2017-03-23 09:42:41
* @Last Modified by:   wanghongfucoder
* @Last Modified time: 2017-03-23 09:45:22
*/

public class Demo {
	public static void main(String[] args) {
		AbstractCustomer customer1=CustomerFactory.getCustomer("Rob");
		AbstractCustomer customer2=CustomerFactory.getCustomer("Bob");
		AbstractCustomer customer3=CustomerFactory.getCustomer("julie");
		AbstractCustomer customer4=CustomerFactory.getCustomer("Laura");
		System.out.println("Customers");
		System.out.println(customer1.getname());
		System.out.println(customer2.getname());
		System.out.println(customer3.getname());
		System.out.println(customer4.getname());

	}
}